<template>
<div>
<router-view></router-view>
<van-tabbar v-model="active">
  <van-tabbar-item  icon="home-o" replace to="/home">首页</van-tabbar-item>
  <van-tabbar-item  icon="apps-o" replace to="/category">分类</van-tabbar-item>
  <van-tabbar-item  icon="photo-o" replace to="/worth">值得买</van-tabbar-item>
  <van-tabbar-item  icon="cart-o" replace to="/cart">购物车</van-tabbar-item>
  <van-tabbar-item  icon="user-o" replace to="/personal">个人中心</van-tabbar-item>
</van-tabbar>
</div>
</template>

<script>
export default {
name:"App",
  data() {
    return {
      active: 'home',
    };
  },
}
</script>

<style>

</style>